package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;
import com.huawang.business.dto.ProjectIdDTO;
import com.huawang.mdesign.model.service.dto.CheckShapeDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Schema(description = "校验内部元素")
@Data
public class CheckInnerElementsDTO extends ProjectIdDTO {
    @Schema(title = "项目id")
    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;

    @Schema(title = "图形代表的模型id")
    private String modelId;

    private CheckShapeDTO shape;
}
